{%for question in x%}
	{{question.question_text}}
	
{%endfor%}













<form action = '{%url 'paper:yunsuan'%}' method = 'post'>
{% csrf_token %}

<h2>第一题，单选题</h2>
<ol>
{% for question in danxuanti_list %}
	<li>
	{{question.question_text}}<br/>
	<ul>
	{%for choice in question.choice_set.all%}
		<li><input type = 'radio' name = '单选题{{question.id}}' value = '{{choice.id}}' id = 'choice{{forloop.counter}}'>
		<label for = 'choice{{forloop.counter}}'>{{choice.choice_text}}</label><br/>
		</li>
		
	{%endfor%}
	</ul>
	</li>
{%endfor%}
</ol>


<h2>第二题，填空题</h2>

<ol>
{% for question in tiankongti_list %}
	<li>
	{{question.question_text}}<input type = 'text' id = 'tiankong{{forloop.counter}}' name = '{{question.id}}'><br/>
	</li>
{%endfor%}
</ol>
<input type = 'submit' value = '提交'/>

</form>